package com.example.entity;

public class PersonSearchEntity {
    private String workNumber;
    private String section;
    private String professional;
    private int page;
    private int start;
    private int limit;

    public PersonSearchEntity(String workNumber, String section, String professional, int page,  int limit) {
        this.workNumber = workNumber;
        this.section = section;
        this.professional = professional;
        this.page = page;
        this.limit = limit;
    }

    public String getWorkNumber() {
        return workNumber;
    }

    public void setWorkNumber(String workNumber) {
        this.workNumber = workNumber;
    }

    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public String getProfessional() {
        return professional;
    }

    public void setProfessional(String professional) {
        this.professional = professional;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "PersonSearchEntity{" +
                "workNumber='" + workNumber + '\'' +
                ", section='" + section + '\'' +
                ", professional='" + professional + '\'' +
                ", page=" + page +
                ", start=" + start +
                ", limit=" + limit +
                '}';
    }
}
